import request, {requeste} from '../utils/request';
export async function querySystemPermissionList(params) {
    return requeste('SystemPermissionListService','querySystemPermissionList', {
        method: 'POST',
        body: params,
    });
}

export async function addSystemPermissionList(params) {
    return requeste('SystemPermissionListService','addSystemPermissionList', {
        method: 'POST',
        body: params,
    });
}

export async function delSystemPermissionList(params) {
    return requeste('SystemPermissionListService','delSystemPermissionList', {
        method: 'POST',
        body: params,
    });
}

export async function modSystemPermissionList(params) {
    return requeste('SystemPermissionListService','modSystemPermissionList', {
        method: 'POST',
        body: params,
    });
}

export async function queryAllSystemPermissionList(params) {
    return requeste('SystemPermissionListService','queryAllSystemPermissionList', {
        method: 'POST',
        body: params,
    });
}

export  async function findParentNode(params){
    return requeste('SystemPermissionListService','findParentNode',{
        method:'POST',
        body:params,
    });
}



